Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODMenuBar


IsCommandSynthetic

Mac OS

The IsCommandSynthetic method returns a Boolean value that indicates whether the specified command ID is synthetic.

ODBoolean IsCommandSynthetic (in ODCommandID command);
command
The command ID of the menu item to be checked. On the Mac OS platform, the command ID is defined as a signed 32-bit value.
return value
kODTrue if the specified command ID is synthetic, otherwise kODFalse.
DISCUSSION
A synthetic command ID is one that is not registered with this menu bar object, but that was instead manufactured from the menu and menu item IDs.

SEE ALSO
The ODCommandID type (page 895).
The ODMenuBar::RegisterCommand method (page 407).
"Registering and Retrieving Command IDs" on page 242 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help